//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.goodscoupon.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.ViewUpdate;
import com.nebutown.description.data.UnitForGeneration;
import com.nebutown.generation.PickableBean;
import com.nebutown.supporthome.AbstractBase;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.goodscoupon.GoodsCouponImpl;
import com.restaurant.application.indexes.goodscouponlist.mysql.GoodsCouponListBean;

public class GoodsCouponBase extends AbstractBase {
    private UnitForGeneration desc = new UnitForGeneration();

    public GoodsCouponBase() {
    }

    public AbstractGoodsCoupon getImpl() {
        AbstractGoodsCoupon inst = new GoodsCouponImpl();
        inst.setBase(this, this.getEscort());
        return inst;
    }

    public GoodsCouponOutFace getUnitFace() {
        return new GoodsCouponOutFace(this);
    }

    protected Object callDistr(String name, Object... param) {
        byte var4 = -1;
        switch(name.hashCode()) {
            case -1401866679:
                if (name.equals("updateLogistic")) {
                    var4 = 1;
                }
                break;
            case -1021464297:
                if (name.equals("getViewLead")) {
                    var4 = 8;
                }
                break;
            case -930117103:
                if (name.equals("getGoodsDetail")) {
                    var4 = 2;
                }
                break;
            case -885969078:
                if (name.equals("getFullView")) {
                    var4 = 9;
                }
                break;
            case -324807519:
                if (name.equals("getGoodsCouponDataForGoodsCouponList")) {
                    var4 = 11;
                }
                break;
            case 3237136:
                if (name.equals("init")) {
                    var4 = 0;
                }
                break;
            case 52742979:
                if (name.equals("timerCall")) {
                    var4 = 12;
                }
                break;
            case 98245393:
                if (name.equals("getId")) {
                    var4 = 7;
                }
                break;
            case 224608492:
                if (name.equals("upStateUseful")) {
                    var4 = 5;
                }
                break;
            case 951117504:
                if (name.equals("confirm")) {
                    var4 = 6;
                }
                break;
            case 1142206792:
                if (name.equals("getEffectiveInterface")) {
                    var4 = 10;
                }
                break;
            case 2084375555:
                if (name.equals("confirmReceive")) {
                    var4 = 4;
                }
                break;
            case 2105627991:
                if (name.equals("perfectData")) {
                    var4 = 3;
                }
        }

        switch(var4) {
            case 0:
                this.getImpl().init((GoodsCouponDetail)param[0]);
                return "";
            case 1:
                this.getImpl().updateLogistic((String)param[0]);
                return "";
            case 2:
                return this.getImpl().getGoodsDetail();
            case 3:
                return this.getImpl().perfectData((GoodsCouponDetail)param[0]);
            case 4:
                return this.getImpl().confirmReceive((Integer)param[0]);
            case 5:
                this.getImpl().upStateUseful((String)param[0]);
                return "";
            case 6:
                return this.getImpl().confirm();
            case 7:
                return this.getImpl().getId();
            case 8:
                return this.getImpl().getViewLead((ViewSpec)param[0]);
            case 9:
                this.setIsRefresher();
                return this.getImpl().getFullView();
            case 10:
                return this.getImpl().getEffectiveInterface();
            case 11:
                return this.getImpl().getGoodsCouponDataForGoodsCouponList((GoodsCouponListBean)param[0]);
            case 12:
                return this.getImpl().timerCall((String)param[0]);
            default:
                return null;
        }
    }

    protected boolean authDistr(String name) {
        name.getClass();
        return true;
    }

    public CmdCapsule getUICall(int cmd) {
        return null;
    }

    public ViewUpdate uiCall(int cmd, PickableBean param, int... seq) {
        return null;
    }
}
